home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl1615.lha / doc / debug < prev    next >
Text File  |  1989-07-28  |  970b  |  29 lines

  1. New Debugging Features:
  2.  
  3. Search-stack:
  4. (:s "cal") or (:s 'cal) searches the stack for a frame whose function or 
  5. special form has a name containing "cal", moves there to display the local
  6. data.
  7.  
  8. Break-locals:
  9. :bl displays the args and locals of the current function.
  10. (:bl 4) does this for 4 functions.
  11.  
  12. (si:loc i)  accesses the local(i): slot.
  13. the *print-level* and *print-depth* are bound to si::*debug-print-level*
  14.  
  15. Recall that kcl permits movement to previous frame (:p) and next frame (:n).
  16. These also take numeric args eg. (:p 7) moves up 7 frames.
  17.  
  18. If functions are interpreted, the arg values are displayed together
  19. with their names.  If the functions are using the C stack (ie proclaimed 
  20. functions), very little information is available.
  21.  
  22.  
  23. Note you must have space < 3  in your optimize proclamation, in order for
  24. the local variable names to be saved by the compiler.
  25.  
  26. To Do: add setf method for si:loc.
  27. add restart capability from various spots on the stack.
  28.  
  29.